[INFO] cloning repository https://github.com/apoelstra/rsgit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apoelstra/rsgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoelstra%2Frsgit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoelstra%2Frsgit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12594097c04b1a910f99918c38d3a2b8d4d93f28
[INFO] checking apoelstra/rsgit against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapoelstra%2Frsgit" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/apoelstra/rsgit on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/apoelstra/rsgit
[INFO] finished tweaking git repo https://github.com/apoelstra/rsgit
[INFO] tweaked toml for git repo https://github.com/apoelstra/rsgit written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/apoelstra/rsgit already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b89eb24b24dcf6f668e417116341a775b333322b13cb656c075a7ee6ed45969e
[INFO] running `Command { std: "docker" "start" "-a" "b89eb24b24dcf6f668e417116341a775b333322b13cb656c075a7ee6ed45969e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b89eb24b24dcf6f668e417116341a775b333322b13cb656c075a7ee6ed45969e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b89eb24b24dcf6f668e417116341a775b333322b13cb656c075a7ee6ed45969e", kill_on_drop: false }`
[INFO] [stdout] b89eb24b24dcf6f668e417116341a775b333322b13cb656c075a7ee6ed45969e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fed7dedaf30bcfb9b0988e760eb9e707e1ba59768eb71fd45a601f05c01743c
[INFO] running `Command { std: "docker" "start" "-a" "8fed7dedaf30bcfb9b0988e760eb9e707e1ba59768eb71fd45a601f05c01743c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.56
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking subprocess v0.2.6
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking rand_core v0.6.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking rand v0.8.2
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling libgit2-sys v0.12.17+1.1.0
[INFO] [stderr]     Checking addr2line v0.14.1
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]     Checking git2 v0.13.15
[INFO] [stderr]    Compiling structopt-derive v0.4.14
[INFO] [stderr]     Checking structopt v0.3.21
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking git-utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0507]: cannot move out of `fresh_repo`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/checks/rust.rs:121:35
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let fresh_repo = temp_repo(&repo.repo, head)
[INFO] [stdout]     |                 ---------- captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 120 |             handles.push(JobHandle::spawn(build_pool, data, move || {
[INFO] [stdout]     |                                                             ------- captured by this `Fn` closure
[INFO] [stdout] 121 |                 let _fresh_repo = fresh_repo; // pull repo into subthread so it doesn't drop() and delete our working dir
[INFO] [stdout]     |                                   ^^^^^^^^^^ move occurs because `fresh_repo` has type `TempRepo`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 let _fresh_repo = &fresh_repo; // pull repo into subthread so it doesn't drop() and delete our working dir
[INFO] [stdout]     |                                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `fresh_repo`, a captured variable in an `Fn` closure
[INFO] [stdout]    --> src/checks/rust.rs:121:35
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let fresh_repo = temp_repo(&repo.repo, head)
[INFO] [stdout]     |                 ---------- captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 120 |             handles.push(JobHandle::spawn(build_pool, data, move || {
[INFO] [stdout]     |                                                             ------- captured by this `Fn` closure
[INFO] [stdout] 121 |                 let _fresh_repo = fresh_repo; // pull repo into subthread so it doesn't drop() and delete our working dir
[INFO] [stdout]     |                                   ^^^^^^^^^^ move occurs because `fresh_repo` has type `TempRepo`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 let _fresh_repo = &fresh_repo; // pull repo into subthread so it doesn't drop() and delete our working dir
[INFO] [stdout]     |                                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-utils` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-utils` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "8fed7dedaf30bcfb9b0988e760eb9e707e1ba59768eb71fd45a601f05c01743c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fed7dedaf30bcfb9b0988e760eb9e707e1ba59768eb71fd45a601f05c01743c", kill_on_drop: false }`
[INFO] [stdout] 8fed7dedaf30bcfb9b0988e760eb9e707e1ba59768eb71fd45a601f05c01743c
